package org.red_cross_service.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

/**
 * 
 * @TableName rc_video
 */
@Entity
@TableName(value ="rc_video")
@Data
public class VideoEntity implements Serializable {
    @Id
    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;
    @TableField(value = "url")
    private String url;

    @TableField(value = "name")
    private String name;

    @TableField(value = "length")
    private Integer length;
    @TableField(value = "sort")
    private Integer sort;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}